package com.javalab._3object_oriented._3abstract;

/**
 * 乘法计算器
 */
public class MultiCalculator extends AbstCaculator {
    @Override
    public Double calculate(Double a, Double b) throws Exception {
        // 校验
        validate(a, b);
        return a * b;
    }
}
